import { createApp } from 'vue'

import App from './App.vue'
import router from './router'
import store from './store'

import '@/assets/main.css'
import '@/style/index.less'

async function bootstrap() {
  const app = createApp(App)
  app.use(store)
  app.use(router)
  await router.isReady().then(() => app.mount('#app'))
}

bootstrap()
